﻿using System.Collections.Generic;

namespace MvcSupplantCaching
{
    /// <summary>
    /// A class that that serves as a named container for <seealso cref="SupplantCacheItem"/>s.
    /// </summary>
    public class SupplantCacheItemContainer
    {
        /// <summary>
        /// The cached entry's key.
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// The cached items that belong to this container.
        /// </summary>       
        public IEnumerable<SupplantCacheItem> CacheItems { get; set; }
    }
}
